<?php
include("utils.php");
include("lang_buildCustomNetwork.php");
$camp_id =  $_GET['camp_id'];
$query = "select * from adcampaign where campaign_id = '".$camp_id."' ";
$res = mysql_query($query);
$row = mysql_fetch_array($res);
?>
<!--<TD valign="top" id="right_div_detail" nowrap="nowrap" width="300px" style="overflow:auto;">--> <!-- Right TD -->
<!--			<tabLE border="1">
				<TR>
					<TD>
						<table>
							
							<TR><TD align="left" class="listHeader" style="padding-left: 6px;cursor:pointer;" width="100px" colspan="2">Statistics</TD></TR>

	<tr bgcolor="#CCCCCC"><font size="2">Name</font></TD><td width="150px"><font size="2"><?php// echo $row['camp_name']; ?></font></td></tr>

	<tr><font size="2">Level</font></td><td><font size="2">Campaign</font></td></tr>

	<tr bgcolor="#CCCCCC"><td><font size="2">Status</font></TD><td><font size="2">N/A</font></td></tr>

	<tr><font size="2">Network</font></TD><td><font size="2">N/A</font></td></tr>

	<tr bgcolor="#CCCCCC"><td><font size="2">Bid</font></TD><td><foNT  size="2">N/A</foNT></td></tr>

	<tr><font size="2">Ad Type</foNT><td><font size="2">Text</font></td></tr>

	<tr bgcolor="#CCCCCC"><font><font size="2">Banner Size</font></TD><td><font size="2">N/A</font></td></tr>

	<tr><font size="2">Daily Budget Spent</font></TD><td><font size="2">$0.00</font></td></tr>

	<tr bgcolor="#CCCCCC"><td><font size="2">Daily Budget</font></TD><td><font size="2"><?php// echo $row['daily_budget']; ?></font></td></tr>

	<tr><td><font size="2">Total Budget Spent</font></TD><font size="2">$0.00</font></td></tr>

	<tr bgcolor="#CCCCCC"><font><font size="2">Total Budget</font></TD><td width="150px"><font size="2"><?php// echo $row['total_budget']; ?></font></td></tr>

	<tr><td><font size="2">Total Impressions</font></TD><font size="2">0</font></td></tr>

	<tr bgcolor="#CCCCCC"><TD><font size="2">Total Clicks</font></TD><font size="2">0</font></td></tr>

	<tr><TD><font size="2">Avg. CPC</font></TD><font size="2">N/A</font></td></tr>

	<tr bgcolor="#CCCCCC"><TD><font size="2">CTR</font></TD><font size="2">0.000%</font></td></tr>

						</table>
					</TD>
				</TR>
			</table>
</TD>-->

<td width="302" valign="top" id="right_div_detail"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td class="admob-SquareBoxTilteBg"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td class="admob-leftPanelWhiteContent"><?php echo STATISTICS; ?></td>
                        <td align="right"><a href="#" class="admob-ImgToplink">Detailed Status</a></td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td class="admob-SquareBoxBorder admob-FormContent"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="admob-FormContent">
                      <tr>
                        <td width="115" height="25">Name :</td>
                        <td><?php echo $row['camp_name']; ?></td>
                      </tr>
                      <tr>
                        <td height="25">Level : Campaign</td>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td height="25">Campaign Status :</td>
                        <td><?php if($row['approved']=='Y'){?>Approved<?php }else{?> Not-Approved<?php }?></td>
                      </tr>
                      <tr>
                        <td height="25">Daily Budget Spent :</td>
                        <td>N/A</td>
                      </tr>
                      <tr>
                        <td height="25">Daily Budget :</td>
                        <td><?php echo $row['daily_budget']; ?></td>
                      </tr>
                      <tr>
                        <td height="25">Total Budget Spent :</td>
                        <td>N/A</td>
                      </tr>
                      <tr>
                        <td height="25">Total Budget :</td>
                        <td><?php echo $row['total_budget']; ?></td>
                      </tr>
                      <tr>
                        <td height="25">Total Impressions :</td>
                        <td>0</td>
                      </tr>
                      <tr>
                        <td height="25">Total Clicks :</td>
                        <td>0</td>
                      </tr>
                      <tr>
                        <td height="25">Avg. CPC :</td>
                        <td>0.00</td>
                      </tr>
                      <tr>
                        <td height="25">CTR :</td>
                        <td>0.00%</td>
                      </tr>
                      <tr>
                        <td height="25">&nbsp;</td>
                        <td>&nbsp;</td>
                      </tr>
                    </table></td>
                  </tr>
                </table></td>